package com.fh.fallback;

import com.fh.feign.StockUpdateClient;
import com.fh.feign.StockqueryClient;
import com.fh.model.ProductSku;
import org.springframework.stereotype.Component;


@Component
public class StockUpdateClientFallback implements StockUpdateClient {


    @Override
    public int update(ProductSku productSku) {
        System.out.println("进入修改库存降级");
        return 0;
    }
}
